/* component/goods/goods.wxss */

.goods-list {
    width: 100%;
    display: flex;
    background: #f1f1f1;
    padding-left: 2%;
    padding-right: 2%;
}

.style-small {
    justify-content: space-between;
    width: 96%;
    flex-wrap: wrap;
}

.style-small .good-inner {
    width: 49%;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

.style-small .good-inner .navi {
    width: 100%;
    background: #fff;
    border-radius: 8rpx;
    height: 250px;
    box-shadow: 0 0 5rpx 3rpx #ddd;
}

.style-small .navi image {
    width: 100%;
    height: 160px;
    border-radius: 8rpx 8rpx 0 0;
}

.style-small .goods-desc {
    float: left;
    padding: 0 3px;
    position: relative;
    height: 90px;
    width: 95%;
}

.style-small .goods-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

.style-small .navi .goods-info {
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.style-small .goods-info .goods-price {
    color: #ff6100;
    font-size: 14px;
}

.style-small .goods-info .goods-sale {
    color: #999;
    margin-left: 5px;
    font-size: 12px;
    display: inline-block;
}

/* ///////////////////////////////////// */

.style-list {
    width: 96%;
    flex-wrap: wrap;
}

.style-list .good-inner {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    justify-content: space-around;
}

.style-list .good-inner .navi {
    width: 100%;
    background: #fff;
    border-radius: 8rpx;
    height: 200rpx;
}

.style-list .navi image {
    width: 48%;
    height: 200rpx;
    border-radius: 8rpx 0 0 8rpx;
    float: left;
}

.style-list .goods-desc {
    width: 49%;
    float: left;
    padding: 5rpx;
    position: relative;
    height: 190rpx;
}

.style-list .goods-title {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    max-height: 40px;
    overflow: hidden;
    color: #333;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    float: left;
    margin-top: 5px;
    text-align: left;
}

.style-list .goods-info {
    position: absolute;
    bottom: 0;
    left: 0;
}

.style-list .goods-info .goods-price {
    color: #ff6100;
    font-size: 14px;
    float: left;
}

.good-lowprice {
    font-size: 22px;
}

.style-list .goods-info .goods-sale {
    float: left;
    color: #999;
    font-size: 12px;
    margin-left: 5px;
    margin-top: -5px;
}

/*活动*/

.activity {
    position: relative;
}

.activity-info {
    position: absolute;
    top: -2px;
    left: 0;
}

.activity-info .activity-desc {
    width: 50%;
    padding: 2px 5px;
    background: #000;
    border-radius: 8rpx 0 0 0;
    color: #fff;
    font-size: 11px;
}

.activity-info .activity-time {
    width: 50%;
    padding: 2px 5px;
    border-radius: 0 0 8rpx 0;
    color: #fff;
    font-size: 11px;
    background-image: linear-gradient(to right, #612074, #fd5d5f);
}

.activity_group {
    width: 100%;
    height: 40rpx;
    margin-top: 10rpx;
    width: 85%;
}

.activity_group .progress_sku {
    border: 1px solid #f1f1f1;
    border-radius: 8rpx;
    height: 18rpx;
    width: 80%;
    float: left;
    margin-left: 0;
    margin-top: 5px;
}

.activity_group .progress {
    border-radius: 8rpx;
    background-image: linear-gradient(to right, #f14b6e, #ec3996);
    height: 18rpx;
}

.activity_group .max {
    float: left;
    margin-top: 3px;
    margin-left: 5px;
    font-size: 12px;
    color: #333;
    height: 18rpx;
}
